/**
 * Copyright (c) 2012 Nokia Corporation.
 * All rights reserved.
 *
 * For the applicable distribution terms see the license text file included in
 * the distribution.
 */

#include "socialconnectplugin.h"
#include "facebookconnect.h"

/*!
  \class SocialConnectPlugin
  \brief The main class of the plugin. Registers the public types.
*/

/*!
  Constructor.
*/
SocialConnectPlugin::SocialConnectPlugin(QObject *parent) :
    QDeclarativeExtensionPlugin(parent)
{
}

/*!
  From QDeclarativeExtensionPlugin.
*/
void SocialConnectPlugin::registerTypes(const char *uri)
{
    qmlRegisterType<FacebookConnect>(uri, 1, 0, "FacebookConnect");
}

Q_EXPORT_PLUGIN2(FacebookConnect, SocialConnectPlugin)
